package com.epoch.base.shiro.ext;

import org.apache.shiro.authc.UsernamePasswordToken;

public class CaptchaUsernamePasswordToken extends UsernamePasswordToken {
    private static final long serialVersionUID = 4676958151524148623L;

    private String captcha;

    private String flag;//0正常，1模拟

    public CaptchaUsernamePasswordToken(String username, String password, boolean rememberMe, String host, String captcha,String flag) {
        super(username, password, rememberMe, host);
        this.captcha = captcha;
        this.flag = flag;
    }

    public String getCaptcha() {
        return captcha;
    }

    public void setCaptcha(String captcha) {
        this.captcha = captcha;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

}
